<template>
    <div class="cateGory">
        <h2>{{title}}</h2>
        <slot name="s3"></slot>
        <div>-------------</div>
        <slot></slot>
    </div>
</template>

<script lang="ts" setup name="category">
defineProps(['title'])
</script>

<style scoped>
    .cateGory {
        background-color: aqua;
        border-radius: 10px;
        box-shadow: 0 0 10px;
        padding: 10px;
        width: 200px;
        height: 300px;
    }
    h2{
        background-color: orange;
        text-align: center;
    }
</style>